package com.l024.loanthief.entity;

import java.io.Serializable;

/**
 * @author wu_ming_zhi_bei
 * @date 2021/1/18 15:22
 * @Notes
 */
public class ChatMessageEntity implements Serializable {
    private int id;
    private int sendUid;//发送用户id
    private int acceptUid;//接受用户
    private String msg;//数据
    private String type;//消息类型
    private int position;//位置  左边还是右边

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSendUid() {
        return sendUid;
    }

    public void setSendUid(int sendUid) {
        this.sendUid = sendUid;
    }

    public int getAcceptUid() {
        return acceptUid;
    }

    public void setAcceptUid(int acceptUid) {
        this.acceptUid = acceptUid;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "ChatMessageEntity{" +
                "id=" + id +
                ", sendUid=" + sendUid +
                ", acceptUid=" + acceptUid +
                ", msg='" + msg + '\'' +
                ", type=" + type +
                ", position=" + position +
                '}';
    }
}
